package com.zx.map.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zx.map.dao.mapper.BankMapper;
import com.zx.map.dao.model.Bank;
import com.zx.map.service.BankService;

@Service("bankService")
public class BankServiceImpl implements BankService {

	@Autowired
	private BankMapper bankMapper;
	
	@Override
	public Bank getBankById(int id) {
		return bankMapper.selectByPrimaryKey(id);
	}

}
